package com.hly.musicbackground.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.util.Date;

@Data
public class User {
    @TableId
    private int userId;
    private String userName;//网名
//    private int integral;// 积分
    private String userImage;//头像
    @TableField(select = false)
    private String password;//密码
    private String uuid;//uuid
    private String remarks;//备注
    private int root;//权限
    private String mail;//邮箱
    @TableLogic(value = "0", delval = "1")
    private int del;//是否被删除
    private String status;//账户状态
    private Date loginTime;//最近登录时间
    private Date createTime;//创建时间
}
